#pragma once

//#include <vld.h>

#include "BeanieEngine.h"

#include "GameState.h"
#include "DragDrop.h"
#include "DropParse.h"
#include "GameObject.h"
#include "Player.h"
#include "UI.h"
#include "Map.h"
#include "ContextMenu.h"
#include "Map.h"

class Game {
private:
	bool m_running;
	BeanieCore m_core;
	UI ui;
	Map m_maps;
	Player m_player;
	Clickable m_clickable;
	Context m_context;
public:
	Game(){}
	~Game(){release();}

	void init(Handle* a_handle);
	void release();
	void input();
	void update();
	void draw();
	void preLoop();
	void postLoop();
	bool running(int &a_exit);
};